package com.onlyphoto.onlymall.bean.response

import com.onlyphoto.onlymall.base.BaseEntity

/**
 * Created by gaochujia on 2019-07-12.
 */
data class OrderBean(
        var id: Int,
        var order_code: String,
        var date_tm: Long,
        var total_price: Double,
        var state: Int,
        var state_extra: Int,
        var date_ymd: String,
        var goods_info: ArrayList<GoodsInfo>
) : BaseEntity() {
    data class GoodsInfo(
            var goods_id: Long,
            var title: String,
            var buy_num: Int,
            var price_now: Double,
            var front_img: String,
            var style: String,
            var size: String,
            var color: String,
            var gift_set: Int = 0,
            var gift_arr: Gift? = null
    ) : BaseEntity() {
        data class Gift(
                var goods_id: Long,
                var gift_goods_id: Long,
                var title: String,
                var front_img: String,
                var style: String,
                var color: String,
                var size: String,
                var buy_num: Int
        )
    }
}